package com.hongxun.project.assets.kBj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

/**
 * 计-扩展表 k_bj
 * 
 * @author hongxun
 * @date 2019-06-25
 */
public class KBj extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/**  */
	private String byqId;
	/**  */
	private String pId;
	/** 设备ID */
	private String boxId;
	/** 户名 */
	private String name;
	/** 户号 */
	private String code;
	/** 表计类型(用户表,关口表) */
	private String type;
	/** 表号 */
	private String bCode;
	/** 数据状态 */
	private String datastate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setBoxId(String boxId) 
	{
		this.boxId = boxId;
	}

	public String getBoxId() 
	{
		return boxId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setBCode(String bCode) 
	{
		this.bCode = bCode;
	}

	public String getBCode() 
	{
		return bCode;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("byqId", getByqId())
            .append("pId", getPId())
            .append("boxId", getBoxId())
            .append("name", getName())
            .append("code", getCode())
            .append("type", getType())
            .append("bCode", getBCode())
            .append("datastate", getDatastate())
            .toString();
    }
}
